<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑</title>
</head>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
<body>
<form id="form1" name="form1" method="post" enctype="multipart/form-data" action="<?php echo $this->url ($this->baseUrl, "platset", "mail", "", "admin");?>">

  <table border="1" class="tableA" align="center">
    <tr>
      <td colspan="2" align="center">邮箱配置<?php if ($this->setflag){?><font color="red">配置成功</font><?php }?></td>
    </tr>
    <?php
    foreach ($this->keys as $key =>$v){
  $value = htmlspecialchars($this->values[$key]);
  if($v == "电子邮件密码"){
echo <<<EOT
    <tr>
      <td>$v</td>
      <td>
      <input name="$key" type="password" id="$key" size="50" value="$value" /></td>
    </tr>
EOT;
}else{
echo <<<EOT
    <tr>
      <td>$v</td>
      <td>
      <input name="$key" type="text" id="$key" size="50" value="$value" /></td>
    </tr>
EOT;
}
}
?>
    <tr>
      <td colspan="2" align="center"><input type="submit" name="button" id="button" value="提交" class="btn_submit"/></td>
    </tr>
  </table>
</form>
</body>
</html>